﻿using System;
using System.Windows.Forms;

namespace Kay.Client.Demo
{
    public partial class UserInfo : UserControl
    {
        public ContactsInfo ContactsInfo { get; set; }

        public UserInfo(ContactsInfo info)
        {
            InitializeComponent();

            ContactsInfo = info;

            label_Name.Text = info.Name;
        }

        private void label_Name_DoubleClick(object sender, EventArgs e)
        {
            OnDoubleClick(e);
        }
    }
}
